import { isPC } from '@/utils';
import { Redirect } from 'react-router-dom';
export default (props: any) => {
  if (!isPC()) {
    return <div>{props.children}</div>;
  } else {
    return <Redirect to="/music" />;
  }
};
